<?php

namespace IDock\Insurance\ZFIC\Request;

use IDock\Insurance\ZFIC\Response\CommonResponse;

class CancelOrderNoRequest extends AllZFICRequest
{

    protected $urlTip = '交易流水号撤销接口';

    protected $route = 'order/api/order/cancleTrade';

    protected $response = CommonResponse::class;
    protected $tradeNo = '';

    protected $proposalNo = '';
    protected $attrube1 = '';
    protected $attrube2 = '';
    protected $operateCode = '';

    public function generate(): array
    {
        $param = [
            'tradeNo' => $this->tradeNo,
            'proposalNo' => $this->proposalNo,
            'attrube1' => $this->attrube1,
            'attrube2' => $this->attrube2,
            'operateCode' => $this->operateCode,
        ];
        return $param;
    }

    /**
     * @param string $tradeNo
     */
    public function setTradeNo(string $tradeNo): void
    {
        $this->tradeNo = $tradeNo;
    }

    /**
     * @param string $proposalNo
     */
    public function setProposalNo(string $proposalNo): void
    {
        $this->proposalNo = $proposalNo;
    }

    /**
     * @param string $attrube1
     */
    public function setAttrube1(string $attrube1): void
    {
        $this->attrube1 = $attrube1;
    }

    /**
     * @param string $attrube2
     */
    public function setAttrube2(string $attrube2): void
    {
        $this->attrube2 = $attrube2;
    }

    /**
     * @param string $operateCode
     */
    public function setOperateCode(string $operateCode): void
    {
        $this->operateCode = $operateCode;
    }



}